<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><title>
	炮弹走私
</title><script language="javascript" type="text/javascript"> 
            var applicationPath = "";
        </script>
<meta http-equiv="content-language" content="zh-CN" />
<link rel="icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<meta name="author" content="Hishop development team" />
<meta name="GENERATOR" content="微分销" />
<meta name="renderer" content="webkit" /><link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css" />
<script type="text/javascript" src="admin/js/browserdetect.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="admin/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="admin/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="admin/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="admin/js/jquery.formvalidation.js"></script>
<link rel="stylesheet" href="admin/css/common.css" />
<script src="admin/js/Framenew.js?3.3.1bk1"></script>
<meta name="keywords" /><meta name="description" />
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    

    <script src="/admin/js/jquery.formvalidation.js" type="text/javascript"></script>
    <style type="text/css">
        .lineCss {
            background-color: green;
            height: 2px;
            width: auto;
            margin-left: 5px;
            margin-right: 5px;
        }
    </style>
    <script type="text/javascript">
        function setEnable(obj) {
            var type = "-4";
            var ob = $("#" + obj.id);
            var cls = ob.attr("class");
            var enable = "false";
            if (cls == "switch-btn") {

                ob.empty();
                ob.append("已关闭 <i></i>")
                ob.removeClass();
                ob.addClass("switch-btn off");
                enable = "false";

            }
            else {
                ob.empty();
                ob.append("已开启 <i></i>")
                ob.removeClass();
                ob.addClass("switch-btn");
                enable = "true";
            }

            $.ajax({
                type: "post",
                url: "PayConfigHandler.ashx",
                data: { type: type, enable: enable },
                dataType: "text",
                success: function (data) {
                    if (enable == 'true') {
                        msg('支付宝付款已开启！');
                        $('#maindiv').css('display', '');
                    }
                    else {
                        msg('支付宝付款已关闭！');
                        $('#maindiv').css('display', 'none');
                    }
                }
            });
        }


        function beforeSaveData(obj) {
            debugger
            var mid = $('#ctl00_ContentPlaceHolder1_txt_mid').val();
            var name = $('#ctl00_ContentPlaceHolder1_txt_mName').val();
            var pid = $('#ctl00_ContentPlaceHolder1_txt_pid').val();
            var key = $('#ctl00_ContentPlaceHolder1_txt_key').val();
            if (mid == "") {
                errAlert("请输入支付宝帐号!");
                $('#ctl00_ContentPlaceHolder1_txt_mid').focus();
                return false;
            }
            if (name == "") {
                errAlert("请输入支付宝帐号姓名!");
                $('#ctl00_ContentPlaceHolder1_txt_mName').focus();
                return false;
            }
            if (pid == "") {
                errAlert("请输入合作者身份（PID）!");
                $('#ctl00_ContentPlaceHolder1_txt_pid').focus();
                return false;
            }
            if (key == "") {
                errAlert("请输入安全校验码（Key）!");
                $('#ctl00_ContentPlaceHolder1_txt_key').focus();
                return false;
            }
            //$('#aspnetForm').attr('action', 'save');
            return true;
        }

        function errAlert(msg) {
            HiTipsShow(msg, 'error');
        }
        function msg(msg) {
            HiTipsShow(msg, 'success');
        }

        $(function () {
            $('#aspnetForm').formvalidation({
                'ctl00$ContentPlaceHolder1$txt_mid': {
                    validators: {
                        notEmpty: {
                            message: "请输入支付宝帐号"
                        }
                        ,
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }
                    }
                },
                'ctl00$ContentPlaceHolder1$txt_mName': {
                    validators: {
                        notEmpty: {
                            message: '请输入支付宝账号姓名'
                        }
                        ,
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }
                    }
                },

                'ctl00$ContentPlaceHolder1$txt_pid': {
                    validators: {
                        notEmpty: {
                            message: '成功申请支付宝接口后获取到的PID'
                        }
                        ,
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }
                    }
                },
                'ctl00$ContentPlaceHolder1$txt_key': {
                    validators: {
                        notEmpty: {
                            message: '成功申请支付宝接口后获取到的Key'
                        }
                        ,
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }
                    }
                }
            });

        });


    </script>
</head>
<body class="theme theme--blue">

    <header class="ui-header navbar-fixed-top">
        <div class="ui-header-inner clearfix">
            <h1 class="ui-header-logo">
                <a href="/admin/" title="管理后台">
                    <span class="version"><i>3.4</i></span>
                </a>
            </h1>
            <nav class="ui-header-nav">
                <ul class="clearfix">
					<li class="divide">|</li>
					<li mid="m01"><a href="Default.html" title="店铺">店铺</a></li>
					<li mid="m02"><a href="productonsales.html" title="商品">商品</a></li>
					<li mid="m03"><a href="manageorder.html" title="订单">订单</a></li>
					<li class="divide">|</li>
					<li mid="m04"><a href="MemberGaiKuang.html" title="会员">会员</a></li>
					<li mid="m05"><a href="DistributorSummary.html" title="分销">分销</a></li>
					<li class="divide">|</li>
					<!-- <li mid="m06"><a href="#" title="微信">微信</a></li>
					<li mid="m07"><a href="#" title="微博">微博</a></li>
					<li mid="m11"><a href="#" title="服务窗">服务窗</a></li>
					<li class="divide">|</li> -->
					<li mid="m08"><a href="CouponsList.html" title="营销">营销</a></li>
					<li class="divide">|</li>
					<li class=" active" mid="m09"><a href="Alipay.html" title="设置">设置</a></li>
					<li mid="m10"><a href="salereport.html" title="分析统计">分析统计</a></li>
				</ul>

            </nav>
            <div class="ui-header-user ">
                <div class="customer-wrap">
                </div>
                <div class="dropdown hover dropdown-right">
                    <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="txt">
                            <span class="ellipsis team_name">炮弹走私</span><span class="dash"> - </span><span>admin</span>
                        </span>
                        <i class="caret"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/Settings/EditManager.aspx?UserID=1"><span class="glyphicon glyphicon-user"></span>个人信息</a></li>
                        <li><a href="/admin/Settings/EditManagerPassword.aspx?UserID=1"><span class="glyphicon glyphicon-list-alt"></span>修改密码</a></li>
                        <li class="divide"></li>
                        <li><a href="/Admin/LoginExit.aspx"><span class="glyphicon glyphicon-indent-right"></span>退出</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div class="container">
        <div class="app">
            <div class="app-inner clearfix">

    <form name="aspnetForm" method="post" action="Alipay.aspx?firstPage=1" id="aspnetForm" class="form-horizontal">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTM0NjEyMjIxD2QWAmYPZBYIAgEPFgIeBFRleHQFhAo8dWwgY2xhc3M9ImNsZWFyZml4Ij4NCjxsaSBjbGFzcz0iZGl2aWRlIj58PC9saT4NCjxsaSBtaWQ9Im0wMSI+PGEgaHJlZj0iL0FkbWluL0RlZmF1bHQuYXNweD9maXJzdFBhZ2U9MSIgdGl0bGU9IuW6l+mTuiI+5bqX6ZO6PC9hPjwvbGk+DQo8bGkgbWlkPSJtMDIiPjxhIGhyZWY9Ii9BZG1pbi9nb29kcy9wcm9kdWN0b25zYWxlcy5hc3B4P2ZpcnN0UGFnZT0xIiB0aXRsZT0i5ZWG5ZOBIj7llYblk4E8L2E+PC9saT4NCjxsaSBtaWQ9Im0wMyI+PGEgaHJlZj0iL0FkbWluL3RyYWRlL21hbmFnZW9yZGVyLmFzcHg/Zmlyc3RQYWdlPTEiIHRpdGxlPSLorqLljZUiPuiuouWNlTwvYT48L2xpPg0KPGxpIGNsYXNzPSJkaXZpZGUiPnw8L2xpPg0KPGxpIG1pZD0ibTA0Ij48YSBocmVmPSIvQWRtaW4vbWVtYmVyL01lbWJlckdhaUt1YW5nLmFzcHg/Zmlyc3RQYWdlPTEiIHRpd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zLmFzcHgiIHRpdGxlPSLnianmtYHlhazlj7giPueJqea1geWFrOWPuDwvYT48L2xpPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9TZXR0aW5ncy9zaGlwcGVycy5hc3B4IiB0aXRsZT0i54mp5rWB5Zyw5Z2A566h55CGIj7nianmtYHlnLDlnYDnrqHnkIY8L2E+PC9saT4NCjxsaT48YSBocmVmPSIvQWRtaW4vU2V0dGluZ3MvRXhwcmVzc1NldC5hc3B4IiB0aXRsZT0i54mp5rWB6Lef6Liq6YWN572uIj7nianmtYHot5/ouKrphY3nva48L2E+PC9saT4NCjwvdWw+DQo8ZW0gY2xhc3M9ImdseXBoaWNvbiBpY28tYW5xdWFuIj48L2VtPg0KPHNwYW4+5a6J5YWo5Lit5b+DPC9zcGFuPg0KPHVsIGlpZD0ic3ppMDMiPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9TZXR0aW5ncy9yb2xlcy5hc3B4IiB0aXRsZT0i6YOo6Zeo566h55CGIj7pg6jpl6jnrqHnkIY8L2E+PC9saT4NCjxsaT48YSBocmVmPSIvQWRtaW4vU2V0dGluZ3MvbWFuYWdlcnMuYXNweCIgdGl0bGU9IuS6uuWRmOeuoeeQhiI+5Lq65ZGY566h55CGPC9hPjwvbGk+DQo8bGk+PGEgaHJlZj0iL0FkbWluL1NldHRpbmdzL21hbmFnZWxvZ3MuYXNweCIgdGl0bGU9IuaTjeS9nOaXpeW/lyI+5pON5L2c5pel5b+XPC9hPjwvbGk+DQo8L3VsPg0KZGQmMfo9x+ugH4GQtwyNtwPPzI8ARQ==" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CEC2DC33" />
</div>
        <div class="page-header">
            <h2>设置收款账号</h2>
        </div>
        <div>
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation"><a href="#">微信支付</a></li>
                <li role="presentation" class="active"><a href="Alipay.html">支付宝</a></li>
               
                <li role="presentation"><a href="Settings/ShengPay.html">盛付通</a></li>
                <li role="presentation"><a href="Settings/OfflinePay.html">线下支付</a></li>
                <li role="presentation"><a href="Settings/COD.html">货到付款</a></li>
            </ul>
            <div class="set-switch">
                <strong>支付宝收款设置</strong>
                <p>还没有开通支付宝支付？<a target="_blank" href="https://b.alipay.com/order/productDetail.htm?productId=2014110308142133">在线申请</a></p>
                <p>目前微信屏蔽了支付宝的链接，使用支付宝支付需要在浏览器中打开支付链接。</p>
                <div id="offlineEnable" class="switch-btn" onclick="setEnable(this)">
                    已开启
                    <i></i>
                </div>
            </div>

            

            
            <div id="maindiv" style="">
                <div class="form-group">
                    <label for="inputEmail1" class="col-xs-2 control-label">支付宝账号：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_mid" type="text" value="ptljjjzq@foxmail.com" id="ctl00_ContentPlaceHolder1_txt_mid" class="form-control" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail2" class="col-xs-2 control-label">支付宝账号姓名：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_mName" type="text" value="广州市港福贸易有限公司" id="ctl00_ContentPlaceHolder1_txt_mName" class="form-control" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-xs-2 control-label">合作者身份(PID)：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_pid" type="text" value="2088911230455653" id="ctl00_ContentPlaceHolder1_txt_pid" class="form-control" />
                        <small class="help-block">成功申请支付宝接口后获取到的PID</small>
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail4" class="col-xs-2 control-label">安全校验码(Key)：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_key" type="text" value="b1q5akym16myrvgsgrft4yvjr7ez9" id="ctl00_ContentPlaceHolder1_txt_key" class="form-control" />
                        <small class="help-block">成功申请支付宝接口后获取到的Key</small>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-offset-2 marginl">
                        <input type="submit" name="ctl00$ContentPlaceHolder1$ctl00" value="保存" onclick="return beforeSaveData(this);" class="btn btn-success bigsize" />
                    </div>
                </div>
            </div>
        </div>
    </form>

            </div>
        </div>
        <aside class="ui-sidebar sidebar" style="min-height: 533px;">
            <nav class="well" id="menu_left">
                <em class="glyphicon ico-zhifu"></em>
                <span>设置收款账号</span>
                <ul iid="szi01">
                    <li class=" active"><a href="Alipay.html" title="支付宝">支付宝</a></li>
                    <li><a href="Settings/password.html">修改密码</a></li>
                    <!-- <li><a href="Settings/ShengPay.html" title="盛付通">盛付通</a></li>
                    <li><a href="Settings/OfflinePay.html" title="线下支付">线下支付</a></li>
                    <li><a href="Settings/COD.aspx" title="货到付款">货到付款</a></li> -->
                </ul>
               <!--  <em class="glyphicon ico-wuliu"></em>
                <span>物流配送</span>
                <ul iid="szi02">
                    <li><a href="Settings/manageshippingtemplates.html" title="运费模板">运费模板</a></li>
                    <li><a href="Settings/ExpressComputerpes.html" title="物流公司">物流公司</a></li>
                    <li><a href="Settings/shippers.html" title="物流地址管理">物流地址管理</a></li>
                    <li><a href="Settings/ExpressSet.html" title="物流跟踪配置">物流跟踪配置</a></li>
                </ul>
                <em class="glyphicon ico-anquan"></em>
                <span>安全中心</span>
                <ul iid="szi03">
                    <li><a href="Settings/roles.html" title="部门管理">部门管理</a></li>
                    <li><a href="Settings/managers.html" title="人员管理">人员管理</a></li>
                    <li><a href="Settings/managelogs.html" title="操作日志">操作日志</a></li>
                </ul> -->

            </nav>
        </aside>
    </div>
    <div class="mt20"></div>
</body>
</html>
